package cn.south.campus.admin.campus.model.enums;

import cn.south.campus.common.model.enums.ResponseCode;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/14 8:47
 */
public enum CampusRespEnums implements ResponseCode {
    CATEGORY_HAS_CHILD_ERROR("3001", "分类下有子分类，无法删除", "分类下有子分类，无法删除"),
    PART_TIME_JOB_APPLY_COUNT_LIMIT_ERROR("3002", "兼职人数已达上限", "兼职人数已达上限");

    private final String code;
    private final String desc;
    private final String tips;

    CampusRespEnums(String code, String desc, String tips) {
        this.code = code;
        this.desc = desc;
        this.tips = tips;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String getTips() {
        return tips;
    }
}
